package com.xiangyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangyang.entity.Post;
import com.xiangyang.entity.dto.Result;
import com.xiangyang.entity.vo.PostInfoPage;

public interface IPostService extends IService<Post> {
    Result addPost(Post post); //新增岗位
    Result deletePost(Long postId); //删除岗位
    Result getPostList();   //获取岗位列表
    Result updatePostById(Post post);   //更新岗位
    //分页查询
    Result<Object> getPostList(int pageNum, int pageSize);
    Result selectPostInfo(PostInfoPage postInfoPage);
}
